/* Services */
var appService = angular.module("iService", []);

appService.factory("Context", ['$cookies',function($cookies) {
    return {
        /**
         * 用户是否已登录
         */
        isUserLogin : function() {
            if($cookies.strTokenId && $cookies.nUserId){
                return true;
            }else {
                return false;
            }
        }
    };
}]);
